package com.itheima.service;

import com.itheima.common.entity.PageResult;
import com.itheima.common.entity.QueryPageBean;
import com.itheima.common.entity.Result;
import com.itheima.pojo.Setmeal;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SetmealService {
    boolean addSetmeal(Setmeal setmeal);

    List<String> findAll();


    PageResult findPageByCode(Pageable pageable, String queryString);

    PageResult findPageByName(Pageable pageable, String queryString);

    PageResult findPageDefault(Pageable pageable);

    Setmeal findById(Integer id);

    boolean updateSetmeal(Setmeal setmeal);
}
